import type{ userStoreType } from "@/utils/type"
import type{ StateCreator } from 'zustand'; 

const info = {
  name:'Shaun',
  age:-1,
  address:'1232',
  phone:'666'
}


export const userStore:StateCreator<userStoreType> =(set)=> (
  {     
    info,
    setInfo: (info) => {
      set({ info });
    }
  }
)